UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Public directories must be the only world-writable directories and world-writable files must be located only in public directories.


Overview

Finding ID Version Rule ID IA Controls Severity
V-1010 GEN002480 SV-63673r1_rule ECSC-1 Medium
Description
World-writable files and directories make it easy for a malicious user to place potentially compromising files on the system. The only authorized public directories are those temporary directories supplied with the system or those designed to be temporary file repositories. The setting is normally reserved for directories used by the system and by users for temporary file storage, (e.g., /tmp), and for directories requiring global read/write access.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2015-06-05

Details

Check Text ( C-52293r1_chk )
Check the system for world-writable files.

Procedure:
# find / -perm -2 -a \( -type d -o -type f \) -exec ls -ld {} \;

If any world-writable files are located, except those required for system operation such as /tmp and /dev/null, this is a finding.
Fix Text (F-54253r2_fix)
Remove or change the mode for any world-writable file on the system not required to be world-writable.

Procedure:
# chmod o-w

Document all changes